const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  publicPath: '/',
  devServer: {
    proxy: {
      '/web': {
        target: 'https://book.farmhelper.top',
        changeOrigin: true, // 是否改变域名
        ws: true,
      },
    },
  },
  transpileDependencies: true,
  productionSourceMap:false,
  chainWebpack:config => {
    config.plugin('html').tap(args => {
      args[0].title = "个人接口";
      return args
    })                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
  },
  
})
